package com.ab;

public class hi {
    public static void main(String[] args) {
        int a=6;
        double b=6.7;
        boolean c=a>b;
        System.out.println(c);

        //三元运算符

        String d=a>b? "成绩及格":"成绩不及格";
        System.out.println(d);

    }
}
